{% load rest_framework %} {% load restapi %}
{% if  abrowser %}
<style>
    .wrapper {
        margin-top: 15px;
      }
</style>
{% else %}
<div class="navbar navbar-fixed-top {% block bootstrap_navbar_variant %}navbar-inverse{% endblock %}">
    <div class="container">
        <span>
            {% block branding %}
            <a class='navbar-brand' rel="nofollow" href='{% url "restdocs:index"%}'>
                {{API_TITLE}}
            </a>
            {% endblock %}
        </span>
        <ul class="nav navbar-nav pull-right">
            {% block userlinks %}
            {% if user.is_authenticated %}
            {% optional_logout request user %}
            {% else %}
            {% optional_login request %}
            {% endif %}
            {% endblock %}
        </ul>
    </div>
</div>
{% endif %}